package com.baidu.bulls.stock.admin.user.startup;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.data.jpa.repository.config.EnableJpaRepositories;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@SpringBootApplication
@ComponentScan(basePackages = {"com.baidu"})
@EnableDiscoveryClient
@EntityScan(basePackages = {"com.baidu"})
@EnableJpaRepositories(basePackages = {"com.baidu"})
@EnableTransactionManagement
public class AdminUserApplication {
    public static void main(String[] args) {
        SpringApplication.run(AdminUserApplication.class,args);
    }
}
